package com.cndw.kungfu.vo.battlevo;

/**
 * 受伤害的vo
 * @author fantadust [9677889@qq.com]
 * @date 2011-7-11 上午9:48:34
 */
public class AHurtVO {
	/**
	 * 战斗的角色id
	 */
	private long u;
	/**
	 * 受到的伤害
	 */
	private int a;

	/**
	 *  攻击类型
	 */
	private int t;
	/**
	 * 当前血量
	 */
	private int h;
	/**
	 * 当前魔法量
	 */
	private int m;
	/**
	 * 攻击方伤害吸收
	 */
	private int s1;
	/**
	 * 防守方伤害减免
	 */
	private int t1;
	/**
	 * 防守方伤害反射
	 */
	private int t2;
	
	
	//private BuffLibVO b;
	/**
	 * 会心一击
	 */
	public static final int TYPE_LUCKY = 8;
	/**
	 * 免疫
	 */
	public static final int TYPE_IMMUNE = 4;
	/**
	 * 暴击
	 */
	public static final int TYPE_CRIT = 2;
	/**
	 * miss
	 */
	public static final int TYPE_MISS = 1;
	/**
	 * 正常攻击
	 */
	public static final int TYPE_NORMAL = 0;
	public AHurtVO(){
		
	}
	
	public AHurtVO(long u,int a,int t,int hp,int mp){
		this.u = u;
		this.a = a;
		this.t = t;
		this.h = hp;
		this.m = mp;
	}
	public long getU() {
		return u;
	}
	public void setU(long u) {
		this.u = u;
	}
	public int getA() {
		return a;
	}
	public void setA(int a) {
		this.a = a;
	}
	public int getT() {
		return t;
	}
	public void setT(int t) {
		this.t = t;
	}
	public int getH() {
		return h;
	}
	public void setH(int h) {
		this.h = h;
	}
	public int getM() {
		return m;
	}
	public void setM(int m) {
		this.m = m;
	}
	public int getS1() {
		return s1;
	}
	public void setS1(int s1) {
		this.s1 = s1;
	}
	public int getT1() {
		return t1;
	}
	public void setT1(int t1) {
		this.t1 = t1;
	}
	public int getT2() {
		return t2;
	}
	public void setT2(int t2) {
		this.t2 = t2;
	}
	
	
}
